﻿using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;

namespace Identity.API.Model
{
    public class UserInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Comment("主键")]
        public Guid Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [Comment("名称")]
        [MaxLength(100)]
        public string? Name { get; set; }

        /// <summary>
        /// 疫苗名称
        /// </summary>
        [Comment("微信openid")]
        [MaxLength(50)]
        public string OpenId { get; set; }
        /// <summary>
        /// 最近修改时间
        /// </summary>
        [Comment("最后登录时间")]
        public DateTime LastDate { get; set; }
    }
}
